<template>
<div class="app">
  <h2>当前计数:{{ $store.state.counter }}</h2>
  <hr>
  <home></home>
  <hr>
  <h2>getters的基本使用</h2>
  <getters></getters>
  <hr>
  <mutation></mutation>
  <action></action>
  <modules></modules>
</div>
</template>
<script setup>
import home from './views/home.vue'
import getters from './views/getters.vue'
import mutation from './views/mutation.vue'
import action from './views/action.vue'
import modules from './views/modules.vue'
</script>
<style scoped lang="less">

</style>